package org.example.chapter8.main;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.data.mongodb.core.MongoTemplate;

/**
 * @author CoderXshuai
 * @date 2020/8/4/0004 21:56
 */
@SpringBootApplication(scanBasePackages = "org.example.chapter8")
public class Chapter8Application {
    @Autowired
    static MongoTemplate mongoTemplate;

    public static void main(String[] args) {
        SpringApplication.run(Chapter8Application.class);
    }
}
